package com.twu.biblioteca.model;

public class Movie extends Item {
    private String movieName;
    private int year;
    private String director;
    private int rating;

    public Movie(String movieName, int year, String director, int rating) {
        this.movieName = movieName;
        this.year = year;
        this.director = director;
        this.rating = rating;
    }

    @Override
    public String getItemName(){
        return getMovieName();
    }

    public String getMovieName() {
        return movieName;
    }

    public int getYear() {
        return year;
    }

    public String getDirector() {
        return director;
    }

    public int getRating() {
        return rating;
    }
}
